package com.ly.heart.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ly.heart.domain.InventoryEntity;

/**
 * 仓库库存Mapper接口
 * 
 * @author wutao
 * @date 2024-06-02
 */
public interface InventoryMapper extends BaseMapper<InventoryEntity> {
    /**
     * 查询仓库库存
     * 
     * @param id 仓库库存ID
     * @return 仓库库存
     */
    public InventoryEntity selectInventoryEntityById(String id);

    /**
     * 查询仓库库存列表
     * 
     * @param inventoryEntity 仓库库存
     * @return 仓库库存集合
     */
    public List<InventoryEntity> selectInventoryEntityList(InventoryEntity inventoryEntity);

    /**
     * 新增仓库库存
     * 
     * @param inventoryEntity 仓库库存
     * @return 结果
     */
    public int insertInventoryEntity(InventoryEntity inventoryEntity);

    /**
     * 修改仓库库存
     * 
     * @param inventoryEntity 仓库库存
     * @return 结果
     */
    public int updateInventoryEntity(InventoryEntity inventoryEntity);

    /**
     * 删除仓库库存
     * 
     * @param id 仓库库存ID
     * @return 结果
     */
    public int deleteInventoryEntityById(String id);

    /**
     * 批量删除仓库库存
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteInventoryEntityByIds(String[] ids);
}
